package org.csu.mybigpro.service;

import org.csu.mybigpro.DTO.*;
import org.csu.mybigpro.common.CommonResponse;

public interface ForumService {

    CommonResponse<GetThreadsRspVO> getThreads(GetThreadsReqVO reqVO);

    CommonResponse<GetThreadByIdRspVO> getThreadsById(GetThreadByIdReqVO reqVO);

    CommonResponse<CreateThreadRspVO> createThread(String teacherId, CreateThreadReqVO reqVO);

    CommonResponse<CreateReplyRspVO> createReply(String teacherId, CreateReplyReqVO reqVO);

    CommonResponse<AddReadRspVO> addRead(String teacherId, AddReadReqVO reqVO);

    CommonResponse<ThumbsUpRspVO> thumbsUp(String teacherId, ThumbsUpReqVO reqVO);

    CommonResponse<ThumbsDownRspVO> thumbsDown(String teacherId, ThumbsDownReqVO reqVO);

    CommonResponse<DelReplyRspVO> DelReply(String teacherId, DelReplyReqVO reqVO);
}
